HipMouse

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

getDeltaPosition
Vector2 getDeltaPosition(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMetadata
HipButtonMetadata getMetadata(HipMouseButton btn)
Undocumented in source. Be warned that the author may not have intended to support it.
getMulticlickCount
ubyte getMulticlickCount(HipMouseButton btn)
Undocumented in source. Be warned that the author may not have intended to support it.
getPosition
Vector2 getPosition(uint id)

Use the ID for getting the touch, may return null

getScroll
Vector3 getScroll()
Undocumented in source. Be warned that the author may not have intended to support it.
isDoubleClicked
bool isDoubleClicked(HipMouseButton btn)
Undocumented in source. Be warned that the author may not have intended to support it.
isJustPressed
bool isJustPressed(HipMouseButton btn)
Undocumented in source. Be warned that the author may not have intended to support it.
isJustReleased
bool isJustReleased(HipMouseButton btn)
Undocumented in source. Be warned that the author may not have intended to support it.
isPressed
bool isPressed(HipMouseButton btn)
Undocumented in source. Be warned that the author may not have intended to support it.
postUpdate
void postUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
setPosition
void setPosition(float x, float y, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
setPressed
void setPressed(HipMouseButton btn, bool pressed)
Undocumented in source. Be warned that the author may not have intended to support it.
setScroll
void setScroll(float x, float y, float z)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

lastPositions
Vector2[] lastPositions;
Undocumented in source.
metadatas
HipButtonMetadata[enumLength!HipMouseButton] metadatas;
Undocumented in source.
positions
Vector2[] positions;
Undocumented in source.
scroll
Vector3 scroll;
Undocumented in source.

Meta